
//单例模式

public class singleton_pattern {
    private singleton_pattern(){

    }
    public static singleton_pattern getInstance(){
        return new singleton_pattern();
    }
    public static void main(String[] args){

    }
}
